#pragma once
#include "StandardFrameListener.h"
#include "SpiderManager.h"
class OgreApplicationFrameListener : public StandardFrameListener
{
	public:
		OgreApplicationFrameListener(SceneManager* sceneManager, RenderWindow* window, Camera* cam);

		bool					frameStarted(const FrameEvent& evt);
		bool					frameEnded(const FrameEvent& evt);
		bool					processUnbufferedKeyInput(const FrameEvent& evt);
	
	private:
	   SceneManager*			_sceneManager;
	   SpiderManager*			_spiderMngr;
	   float					elapsedTime;
};